package com.didispace.web;


import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 *
 * @author 程序猿DD
 * @version 1.0.0
 * @blog http://blog.didispace.com
 *
 */
@RestController
public class HelloController {
	
	
	  
	  
    @RequestMapping("/hello")
    public String login(ModelMap map) {
        map.addAttribute("host", "http://blog.didispace.com");
        return "login";
    }

    @RequestMapping("/hi")
    public String testYC() {
        return "hello world";
    }





}